<?xml version="1.0" encoding="UTF-8"?>
<!--
	File: CounterReading-2.0-Template.xml
	Generato il: 2026-04-29 07:29

	Descrizione: questo documento costituisce un XML Campione per l'UrbanDataset CounterReading-2.0
	(sono stati valorizzati solo gli elementi e attributi che hanno valore fisso per questo 
	tipo di UrbanDataset, ad esempio gli elementi 'propertyName'; gli altri elementi e attributi, 
	ad esempio i 'val', devono essere valorizzati).
-->
<UrbanDataset xsi:schemaLocation="smartcityplatform:enea:information:xml:schemas:main:urbandataset http://smartcityplatform.enea.it/specification/information/2.0/xml/schemas/scps-urbandataset-schema-2.0.xsd" xmlns="smartcityplatform:enea:information:xml:schemas:main:urbandataset" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <specification version="2.0">
        <id schemeID="SCPS">CounterReading-2.0</id>
        <name>Counter Reading</name>
        <uri>https://smartcityplatform.enea.it/specification/semantic/2.0/ontology/scps-ontology-2.0.owl#CounterReading</uri>
        <properties>
            <propertyDefinition>
                <propertyName>ElectricPanelID</propertyName>
                <propertyDescription>Identifier of the electric panel</propertyDescription>
                <dataType>string</dataType>
                <unitOfMeasure>dimensionless</unitOfMeasure>
            </propertyDefinition>
            <propertyDefinition>
                <propertyName>Line1Current</propertyName>
                <propertyDescription>Line 1 current</propertyDescription>
                <dataType>double</dataType>
                <unitOfMeasure>ampere</unitOfMeasure>
            </propertyDefinition>
            <propertyDefinition>
                <propertyName>Line2Current</propertyName>
                <propertyDescription>Line 2 current</propertyDescription>
                <dataType>double</dataType>
                <unitOfMeasure>ampere</unitOfMeasure>
            </propertyDefinition>
            <propertyDefinition>
                <propertyName>Line3Current</propertyName>
                <propertyDescription>Line 3 current</propertyDescription>
                <dataType>double</dataType>
                <unitOfMeasure>ampere</unitOfMeasure>
            </propertyDefinition>
            <propertyDefinition>
                <propertyName>PODID</propertyName>
                <propertyDescription>Point Of Delivery (POD) identifier</propertyDescription>
                <dataType>string</dataType>
                <unitOfMeasure>dimensionless</unitOfMeasure>
            </propertyDefinition>
            <propertyDefinition>
                <propertyName>Phase1ActivePower</propertyName>
                <propertyDescription>Active power in R phase</propertyDescription>
                <dataType>double</dataType>
                <unitOfMeasure>kilowatt</unitOfMeasure>
            </propertyDefinition>
            <propertyDefinition>
                <propertyName>Phase1ApparentPower</propertyName>
                <propertyDescription>Apparent power in R phase</propertyDescription>
                <dataType>double</dataType>
                <unitOfMeasure>kilovoltampere</unitOfMeasure>
            </propertyDefinition>
            <propertyDefinition>
                <propertyName>Phase1PowerFactor</propertyName>
                <propertyDescription>Power factor in R phase</propertyDescription>
                <dataType>double</dataType>
                <unitOfMeasure>dimensionless</unitOfMeasure>
            </propertyDefinition>
            <propertyDefinition>
                <propertyName>Phase1ReactivePower</propertyName>
                <propertyDescription>Rective power in R phase</propertyDescription>
                <dataType>double</dataType>
                <unitOfMeasure>kilovoltamperereactive</unitOfMeasure>
            </propertyDefinition>
            <propertyDefinition>
                <propertyName>Phase1Voltage</propertyName>
                <propertyDescription>R phase voltage</propertyDescription>
                <dataType>double</dataType>
                <unitOfMeasure>volt</unitOfMeasure>
            </propertyDefinition>
            <propertyDefinition>
                <propertyName>Phase2ActivePower</propertyName>
                <propertyDescription>Active power in S phase</propertyDescription>
                <dataType>double</dataType>
                <unitOfMeasure>kilowatt</unitOfMeasure>
            </propertyDefinition>
            <propertyDefinition>
                <propertyName>Phase2ApparentPower</propertyName>
                <propertyDescription>Apparent power in S phase</propertyDescription>
                <dataType>double</dataType>
                <unitOfMeasure>kilovoltampere</unitOfMeasure>
            </propertyDefinition>
            <propertyDefinition>
                <propertyName>Phase2PowerFactor</propertyName>
                <propertyDescription>Power factor in S phase</propertyDescription>
                <dataType>double</dataType>
                <unitOfMeasure>dimensionless</unitOfMeasure>
            </propertyDefinition>
            <propertyDefinition>
                <propertyName>Phase2ReactivePower</propertyName>
                <propertyDescription>Rective power in S phase</propertyDescription>
                <dataType>double</dataType>
                <unitOfMeasure>kilovoltamperereactive</unitOfMeasure>
            </propertyDefinition>
            <propertyDefinition>
                <propertyName>Phase2Voltage</propertyName>
                <propertyDescription>S phase voltage</propertyDescription>
                <dataType>double</dataType>
                <unitOfMeasure>volt</unitOfMeasure>
            </propertyDefinition>
            <propertyDefinition>
                <propertyName>Phase3ActivePower</propertyName>
                <propertyDescription>Active power in T phase</propertyDescription>
                <dataType>double</dataType>
                <unitOfMeasure>kilowatt</unitOfMeasure>
            </propertyDefinition>
            <propertyDefinition>
                <propertyName>Phase3ApparentPower</propertyName>
                <propertyDescription>Apparent power in T phase</propertyDescription>
                <dataType>double</dataType>
                <unitOfMeasure>kilovoltampere</unitOfMeasure>
            </propertyDefinition>
            <propertyDefinition>
                <propertyName>Phase3PowerFactor</propertyName>
                <propertyDescription>Power factor in T phase</propertyDescription>
                <dataType>double</dataType>
                <unitOfMeasure>dimensionless</unitOfMeasure>
            </propertyDefinition>
            <propertyDefinition>
                <propertyName>Phase3ReactivePower</propertyName>
                <propertyDescription>Rective power in T phase</propertyDescription>
                <dataType>double</dataType>
                <unitOfMeasure>kilovoltamperereactive</unitOfMeasure>
            </propertyDefinition>
            <propertyDefinition>
                <propertyName>Phase3Voltage</propertyName>
                <propertyDescription>T phase voltage</propertyDescription>
                <dataType>double</dataType>
                <unitOfMeasure>volt</unitOfMeasure>
            </propertyDefinition>
            <propertyDefinition>
                <propertyName>TotalActiveEnergy</propertyName>
                <propertyDescription>Total active energy calculated on three phases</propertyDescription>
                <dataType>double</dataType>
                <unitOfMeasure>kilowattHour</unitOfMeasure>
            </propertyDefinition>
            <propertyDefinition>
                <propertyName>TotalActivePower</propertyName>
                <propertyDescription>Total active power</propertyDescription>
                <dataType>double</dataType>
                <unitOfMeasure>kilowatt</unitOfMeasure>
            </propertyDefinition>
            <propertyDefinition>
                <propertyName>TotalApparentPower</propertyName>
                <propertyDescription>Total apparent power</propertyDescription>
                <dataType>double</dataType>
                <unitOfMeasure>kilovoltampere</unitOfMeasure>
            </propertyDefinition>
            <propertyDefinition>
                <propertyName>TotalReactiveEnergy</propertyName>
                <propertyDescription>Total reactive energy calculated on three phases</propertyDescription>
                <dataType>double</dataType>
                <unitOfMeasure>kilovoltamperereactivePerHour</unitOfMeasure>
            </propertyDefinition>
            <propertyDefinition>
                <propertyName>TotalReactivePower</propertyName>
                <propertyDescription>Total reactive power</propertyDescription>
                <dataType>double</dataType>
                <unitOfMeasure>kilovoltamperereactive</unitOfMeasure>
            </propertyDefinition>
            <propertyDefinition>
                <propertyName>TownCode</propertyName>
                <propertyDescription>Municipality ISTAT code</propertyDescription>
                <dataType>string</dataType>
                <codeList>https://smartcityplatform.enea.it/specification/semantic/2.0/gc/TownCode.gc</codeList>
                <unitOfMeasure>dimensionless</unitOfMeasure>
            </propertyDefinition>
            <propertyDefinition>
                <propertyName>coordinates</propertyName>
                <propertyDescription>Geographical reference</propertyDescription>
                <subProperties>
                    <propertyName>format</propertyName>
                    <propertyName>latitude</propertyName>
                    <propertyName>longitude</propertyName>
                    <propertyName>height</propertyName>
                </subProperties>
            </propertyDefinition>
            <propertyDefinition>
                <propertyName>period</propertyName>
                <propertyDescription>Measurement period of the data reported in the row</propertyDescription>
                <subProperties>
                    <propertyName>start_ts</propertyName>
                    <propertyName>end_ts</propertyName>
                </subProperties>
            </propertyDefinition>
            <propertyDefinition>
                <propertyName>format</propertyName>
                <propertyDescription>Wgs84 format in which the coordinates are expressed (optional attribute)</propertyDescription>
                <dataType>string</dataType>
                <codeList>https://smartcityplatform.enea.it/specification/semantic/2.0/gc/FormatCode.gc</codeList>
                <unitOfMeasure>dimensionless</unitOfMeasure>
            </propertyDefinition>
            <propertyDefinition>
                <propertyName>latitude</propertyName>
                <propertyDescription>Latitude</propertyDescription>
                <dataType>double</dataType>
                <unitOfMeasure>dimensionless</unitOfMeasure>
            </propertyDefinition>
            <propertyDefinition>
                <propertyName>longitude</propertyName>
                <propertyDescription>Longitude</propertyDescription>
                <dataType>double</dataType>
                <unitOfMeasure>dimensionless</unitOfMeasure>
            </propertyDefinition>
            <propertyDefinition>
                <propertyName>height</propertyName>
                <propertyDescription>Altitude (optional property)</propertyDescription>
                <dataType>double</dataType>
                <unitOfMeasure>dimensionless</unitOfMeasure>
            </propertyDefinition>
            <propertyDefinition>
                <propertyName>start_ts</propertyName>
                <propertyDescription>Timestamp indicating the beginning of the period</propertyDescription>
                <dataType>dateTime</dataType>
                <unitOfMeasure>dimensionless</unitOfMeasure>
            </propertyDefinition>
            <propertyDefinition>
                <propertyName>end_ts</propertyName>
                <propertyDescription>Timestamp indicating the end of the period</propertyDescription>
                <dataType>dateTime</dataType>
                <unitOfMeasure>dimensionless</unitOfMeasure>
            </propertyDefinition>
        </properties>
    </specification>
    <context>
        <producer>
            <id schemeID="SCPS">Solution-ID</id>
        </producer>
        <timeZone>UTC+1</timeZone>
        <timestamp>2026-04-29T07:29:54</timestamp>
        <coordinates format="WGS84-DD">
            <latitude>0</latitude>
            <longitude>0</longitude>
            <height>0</height>
        </coordinates>
        <language>IT</language>
        <note></note>
    </context>
    <values>
        <line id="1">
            <coordinates format="WGS84-DD">
                <latitude>0</latitude>
                <longitude>0</longitude>
                <height>0</height>
            </coordinates>
            <period>
                <start_ts>2000-12-31T00:00:00</start_ts>
                <end_ts>2000-12-31T23:59:00</end_ts>
            </period>
            <property name="ElectricPanelID">
                <val></val>
            </property>
            <property name="Line1Current">
                <val></val>
            </property>
            <property name="Line2Current">
                <val></val>
            </property>
            <property name="Line3Current">
                <val></val>
            </property>
            <property name="PODID">
                <val></val>
            </property>
            <property name="Phase1ActivePower">
                <val></val>
            </property>
            <property name="Phase1ApparentPower">
                <val></val>
            </property>
            <property name="Phase1PowerFactor">
                <val></val>
            </property>
            <property name="Phase1ReactivePower">
                <val></val>
            </property>
            <property name="Phase1Voltage">
                <val></val>
            </property>
            <property name="Phase2ActivePower">
                <val></val>
            </property>
            <property name="Phase2ApparentPower">
                <val></val>
            </property>
            <property name="Phase2PowerFactor">
                <val></val>
            </property>
            <property name="Phase2ReactivePower">
                <val></val>
            </property>
            <property name="Phase2Voltage">
                <val></val>
            </property>
            <property name="Phase3ActivePower">
                <val></val>
            </property>
            <property name="Phase3ApparentPower">
                <val></val>
            </property>
            <property name="Phase3PowerFactor">
                <val></val>
            </property>
            <property name="Phase3ReactivePower">
                <val></val>
            </property>
            <property name="Phase3Voltage">
                <val></val>
            </property>
            <property name="TotalActiveEnergy">
                <val></val>
            </property>
            <property name="TotalActivePower">
                <val></val>
            </property>
            <property name="TotalApparentPower">
                <val></val>
            </property>
            <property name="TotalReactiveEnergy">
                <val></val>
            </property>
            <property name="TotalReactivePower">
                <val></val>
            </property>
            <property name="TownCode">
                <val></val>
            </property>
        </line>
    </values>
</UrbanDataset>